<template>
  <view class="content">
    {{ store.count }}
  </view>
  <button @click="add">add</button>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { useCounterStore } from '@/store/users'
const store = useCounterStore()
const add = () => {
  store.increment()
}
</script>

<style lang="scss" scoped></style>
